package com.youth.youthservice.entity;

import java.util.Date;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
 * 评论(EduComment)表实体类
 *
 * @author makejava
 * @since 2023-06-05 21:32:24
 */
@SuppressWarnings("serial")
@Data
@NoArgsConstructor
@TableName("edu_comment")
public class EduComment  {
    //评论ID
    @TableId( type = IdType.ID_WORKER_STR)
    private String id;
    //课程id
    private String courseId;
    //讲师id
    private String teacherId;
    //会员id
    private String memberId;
    //会员昵称
    private String nickname;
    //会员头像
    private String avatar;
    //评论内容
    private String content;
    //逻辑删除 1（true）已删除， 0（false）未删除
    private Integer isDeleted;
    //创建时间
    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;
    //更新时间
    @TableField(fill = FieldFill.INSERT_UPDATE) /* mybatis-plus的自动插入更新 */
    private Date gmtModified;

}

